{% extends 'index.html' %}






{% block content %}
<form action="/name/board/" method="post">
    <div class="form-group">
        <label for="name">标题</label>
        <input type="text" class="form-control" id="name" name="title" placeholder="请输入名称">
    </div>
    <div class="form-group">
        <label for="name">文本框</label>
        <textarea class="form-control" name="content" rows="3"></textarea>
    </div>
    <input type="submit" value="提交">
    {% csrf_token %}
    <h1>{{ error }}</h1>

</form>
{% endblock %}